package ltd.hxya.novel.book.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import ltd.hxya.novel.book.entity.BookChapter;
import ltd.hxya.novel.book.mapper.BookChapterMapper;
import ltd.hxya.novel.book.service.BookChapterService;
import org.springframework.stereotype.Service;

@Service
public class BookChapterImpl  extends ServiceImpl<BookChapterMapper, BookChapter> implements BookChapterService {
    @Override
    public BookChapter selectFirstBook(QueryWrapper<BookChapter> queryWrapper) {
        return baseMapper.selectOne(queryWrapper);
    }
}
